| Server IP : 151.101.66.159 / Your IP : 216.73.216.66 Web Server : Flywheel/5.1.0 System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64 User : root ( ) PHP Version : 7.4.33.18 Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wp-content/themes/taafa/ |
Upload File : |
<?php /** * The main template file * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file * * Please see /external/starkers-utilities.php for info on Starkers_Utilities::get_template_parts() * * @package WordPress * @subpackage Starkers * @since Starkers 4.0 */ ?> <?php Starkers_Utilities::get_template_parts( array( 'parts/shared/html-header', 'parts/shared/nav' ) ); ?> <div class="container"> <?php Starkers_Utilities::get_template_parts( array( 'parts/shared/header' ) ); ?> <section class="masthead"> <div class="intro"> <?php query_posts( array( 'posts_per_page' => 1, 'post_type' => 'homepage' )); ?> <?php while ( have_posts() ) : the_post(); ?> <?php $home_introduction = get_post_meta( get_the_ID(), 'home_introduction', true ); ?> <?php echo $home_introduction; ?> <?php endwhile; ?> </div> <div class="elements"> <h2>Explore our personality grid:</h2> <ul> <li><a href="#fire" class="elementpop"><span>Fire</span></a></li> <li><a href="#wind" class="elementpop"><span>Wind</span></a></li> <li><a href="#earth" class="elementpop"><span>Earth</span></a></li> <li><a href="#water" class="elementpop"><span>Water</span></a></li> </ul> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/key.png" /> </div> </section> <section class="quote"> <?php query_posts( array( 'posts_per_page' => 1, 'post_type' => 'homepage' )); ?> <?php while ( have_posts() ) : the_post(); ?> <?php $home_quote = get_post_meta( get_the_ID(), 'home_quote', true ); ?> <?php echo $home_quote; ?> <?php endwhile; ?> </section> <section class="team"> <h2>Who are we?</h2> <div class="wrapper"> <?php query_posts( array( 'posts_per_page' => 1, 'post_type' => 'homepage' )); ?> <?php while ( have_posts() ) : the_post(); ?> <div class="profile"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/alan.jpg" /> <h3>Alan</h3> <p class="element"><span class="earth">Earth</span></p> <?php $home_alan_bio = get_post_meta( get_the_ID(), 'home_alan_bio', true ); ?> <?php echo $home_alan_bio; ?> </div> <div class="profile"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/ruth.jpg" /> <h3>Ruth</h3> <p class="element"><span class="fire">Fire</span> / <span class="wind">Wind</span></p> <?php $home_ruth_bio = get_post_meta( get_the_ID(), 'home_ruth_bio', true ); ?> <?php echo $home_ruth_bio; ?> </div> <div class="profile"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/beth.jpg" /> <h3>Beth</h3> <p class="element"><span class="wind">Wind</span> / <span class="fire">Fire</span></p> <?php $home_beth_bio = get_post_meta( get_the_ID(), 'home_beth_bio', true ); ?> <?php echo $home_beth_bio; ?> </div> <div class="profile"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/petra.jpg" /> <h3>Petra</h3> <p class="element"><span class="earth">Earth</span> / <span class="wind">Wind</span></p> <?php $home_petra_bio = get_post_meta( get_the_ID(), 'home_petra_bio', true ); ?> <?php echo $home_petra_bio; ?> </div> <?php endwhile; ?> </div> </section> <?php Starkers_Utilities::get_template_parts( array( 'parts/shared/footer') ); ?> </div> <?php query_posts( array( 'posts_per_page' => 1, 'post_type' => 'homepage' )); ?> <?php while ( have_posts() ) : the_post(); ?> <div class="mfp-hide element-detail fire" id="fire"> <ul> <li><a href="#earth" class="elementpop earth">←</a></li> <li><a href="#wind" class="elementpop wind">→</a></li> </ul> <div class="inner"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/taafa-quadrant-fire.svg" /> <h1>Personality type: Fire</h1> <?php $home_fire_description = get_post_meta( get_the_ID(), 'home_fire_description', true ); ?> <?php echo $home_fire_description; ?> </div> </div> <div class="mfp-hide element-detail wind" id="wind"> <ul> <li><a href="#fire" class="elementpop fire">←</a></li> <li><a href="#water" class="elementpop water">→</a></li> </ul> <div class="inner"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/taafa-quadrant-wind.svg" /> <h1>Personality type: Wind</h1> <?php $home_wind_description = get_post_meta( get_the_ID(), 'home_wind_description', true ); ?> <?php echo $home_wind_description; ?> </div> </div> <div class="mfp-hide element-detail water" id="water"> <ul> <li><a href="#wind" class="elementpop wind">←</a></li> <li><a href="#earth" class="elementpop earth">→</a></li> </ul> <div class="inner"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/taafa-quadrant-water.svg" /> <h1>Personality type: Water</h1> <?php $home_water_description = get_post_meta( get_the_ID(), 'home_water_description', true ); ?> <?php echo $home_water_description; ?> </div> </div> <div class="mfp-hide element-detail earth" id="earth"> <ul> <li><a href="#wind" class="elementpop wind">←</a></li> <li><a href="#fire" class="elementpop fire">→</a></li> </ul> <div class="inner"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/img/taafa-quadrant-earth.svg" /> <h1>Personality type: Earth</h1> <?php $home_earth_description = get_post_meta( get_the_ID(), 'home_earth_description', true ); ?> <?php echo $home_earth_description; ?> </div> </div> <?php endwhile; ?> <?php Starkers_Utilities::get_template_parts( array( 'parts/shared/html-footer') ); ?>